// import store from '@/store'
export const imgerror = {
  inserted(dom, options) {
    // 只要图片错误就会触发onerror
    dom.onerror = () => {
      dom.src = options.value
    }
  }
}
